package org.qfedu.edu.seckill.anno;

import org.qfedu.edu.seckill.autoconfig.JwtTokenServiceAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import({JwtTokenServiceAutoConfiguration.class})  //只要你使用下面这个注解 那么JwtTokenServiceAutoConfiguration就会自动配置
public @interface EnableJwtTokenService {
}
